package com.visionet.school.app.web.repository.dynamic;

import com.visionet.school.app.web.entity.dynamic.DynamicContent;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by hxpeng on 2017/4/21.
 */
@Repository
public interface DynamicContentRepository extends PagingAndSortingRepository<DynamicContent,String>,JpaSpecificationExecutor<DynamicContent> {

//    //班级动态列表
//    @Query("from DynamicContent as d where d.dynamicId = ?1 and d.isDeleted = 0")
//    DynamicContent queryByDynamicId(String dynamicId);

}
